package com.vegetable.modules.mapper.stock;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vegetable.modules.entity.stock.StockFlow;
import com.vegetable.modules.entity.stock.to.StockFlowDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 库存流水表 Mapper 接口
 * </p>
 *
 * @author wangruijie
 * @since 2024-03-21
 */
@Mapper
public interface StockFlowMapper extends BaseMapper<StockFlow> {

    List<StockFlowDTO> queryOutFlowByOrderNo(String docNo, Long orderId);

    List<StockFlowDTO> queryPackOutFlowByOrderNo(String docNo, Long orderId);
}
